package com.gpframework.module.wages.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gpframework.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @ClassName GzWarehouseEvaluationVo
 * @Author gpframework
 * @Date 2024-01-19
 * @Version 1.0.0
 * @Description 仓库评定Vo对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GzWarehouseEvaluationExcel {
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    @ApiModelProperty("主键自增")
    private Long id;

    /** 月份 */
    @Excel(name = "月份", width = 30, dateFormat = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty("月份")
    private Date month;

    /** 部门 */
    @Excel(name = "部门")
    @ApiModelProperty("部门")
    private String departmentName;

    /** 名字 */
    @Excel(name = "名字")
    @ApiModelProperty("名字")
    private String name;

    /** 工资级别 */
    @Excel(name = "工资级别")
    @ApiModelProperty("工资级别")
    private String payScale;

    /** 对应绩效系数 */
    @Excel(name = "对应绩效系数")
    @ApiModelProperty("对应绩效系数")
    private Double performanceCoefficient;


    /** 当月按天数绩效 */
    @Excel(name = "当月按天数绩效")
    @ApiModelProperty("当月按天数绩效")
    private Double monthlyPerformanceByDays;


    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remarks;



    /** 绩效分 */
    @Excel(name = "绩效分*")
    @ApiModelProperty("绩效分")
    private Double performanceScore;


    /** 仓库评定绩效系数 */
    @Excel(name = "仓库评定绩效系数*")
    @ApiModelProperty("仓库评定绩效系数")
    private Double performanceEvaluationCoefficient;

    /** 评定标准奖金 */
    @Excel(name = "评定标准奖金(参考)" ,combo = {"0-1000","0-800","0-700","0-500","0"})
    @ApiModelProperty("评定标准奖金")
    private String evaluationCriteriaBonus;


    /** 经理评定 */
    @Excel(name = "经理评定*")
    @ApiModelProperty("经理评定")
    private BigDecimal managerEvaluation = BigDecimal.valueOf(0);



    /** 月度评定奖金 */
    //@Excel(name = "月度评定奖金")
    @ApiModelProperty("月度评定奖金")
    private BigDecimal monthlyEvaluationBonus= BigDecimal.valueOf(0);



    /**
     * 下标
     */
    @ApiModelProperty("下标")
    private int subscript;

    /**
     * 导入提示
     */
    @ApiModelProperty("导入提示")
    private String msg;

    public static List<GzWarehouseEvaluationExcel> list() {
        List<GzWarehouseEvaluationExcel> list = new ArrayList<>();
        list.add(new GzWarehouseEvaluationExcel());
        return list;
    }



}
